<?php /* Smarty version 2.6.22, created on 2009-04-02 20:53:41
         compiled from nav.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'run_app', 'nav.tpl', 18, false),)), $this); ?>
<div id="nav">
		<div class="search">
			<form method="get" id="searchform" action="http://sobanu.net/blog/">
			<div>
				<input type="text" value="" name="s" id="searchbox" />
				<input type="submit" id="searchbutton" value="" />
			</div>
			</form>
		</div> <!-- Closes Search -->
		<ul>
			<li class="current_page">
				<a href="<?php echo $this->_tpl_vars['env']['url']; ?>
" title="Home"><span>Home</span></a>
			</li>
			<li>
				<a href="<?php echo $this->_tpl_vars['env']['url']; ?>
content/" title="content"><span>News</span></a>
			</li>
			<li>
			<?php echo run_application(array('name' => 'account','method' => 'isLogged','assign' => '1'), $this);?>

			<?php if ($this->_tpl_vars['RunApplicationResult']): ?>
				<a href="<?php echo $this->_tpl_vars['env']['url']; ?>
account/logout/" title="logout"><span>Logout</span></a>
			<?php else: ?>
				<a href="<?php echo $this->_tpl_vars['env']['url']; ?>
account/login/" title="login"><span>Login</span></a>
			<?php endif; ?>
			</li>
			<li>
				<a href="<?php echo $this->_tpl_vars['env']['url']; ?>
admin/" title="admin panel"><span>admin panel</span></a>
			</li>
		</ul>

		<div class="cleared"></div>
</div> <!-- Closes Nav -->